package com.course.server.mapper;

import com.course.server.domain.TravelCategory;
import com.course.server.domain.TravelCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TravelCategoryMapper {
    long countByExample(TravelCategoryExample example);

    int deleteByExample(TravelCategoryExample example);

    int deleteByPrimaryKey(String id);

    int insert(TravelCategory record);

    int insertSelective(TravelCategory record);

    List<TravelCategory> selectByExample(TravelCategoryExample example);

    TravelCategory selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TravelCategory record, @Param("example") TravelCategoryExample example);

    int updateByExample(@Param("record") TravelCategory record, @Param("example") TravelCategoryExample example);

    int updateByPrimaryKeySelective(TravelCategory record);

    int updateByPrimaryKey(TravelCategory record);
}